package br.ufrj.ppgi.greco;

import com.google.android.maps.GeoPoint;


public class Ponto
{
	private String name;
	private GeoPoint gp;
	private int xE6;
	private int yE6;
	
	
	public Ponto(double latitude, double longitude,String name)
	{
		this.name = name;
		this.xE6 = (int) (latitude*1E6);
		this.yE6 = (int) (longitude*1E6);
		this.gp = new GeoPoint(this.xE6,this.yE6);
		
	}


	public String getName()
	{
		return name;
	}


	public void setName(String name)
	{
		this.name = name;
	}


	public GeoPoint getGp()
	{
		return gp;
	}


	public void setGp(GeoPoint gp)
	{
		this.gp = gp;
	}


	public int getxE6()
	{
		return xE6;
	}


	public void setxE6(int xE6)
	{
		this.xE6 = xE6;
	}


	public int getyE6()
	{
		return yE6;
	}


	public void setyE6(int yE6)
	{
		this.yE6 = yE6;
	}
	
		
	
}
